<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('version/index')}">版本列表</a></li>
			<li><a href="{:url('version/add')}">新版添加</a></li>
		</ul>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>版本号</th>
					<th>数字编号</th>
					<th>类型</th>
					<th>说明</th>
					<th>强制跟新</th>
					<th>地址</th>
					<th>上线日期</th>
					<th width="50">操作</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="advertising" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.v_number}</td>
					<td>{$vo.v_digital}</td>
					<td><if condition="$vo['v_type'] eq 10" >iOS<elseif condition="$vo['v_type'] eq 20" />Android<else />未知</if></td>
					<td>{$vo.v_description}</td>
					<td><if condition="$vo['v_forcibly'] eq 10" >是<elseif condition="$vo['v_forcibly'] eq 20" />否<else />未知</if></td>
					<td>{$vo.v_link}</td>
					<td>{$vo.v_updatetime}</td>
					<td>
						<a href='{:url("version/edit",array("id"=>$vo["id"]))}'>编辑</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>